﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "GlobalMsg.h"
#include "TcpClient.h"


namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
public:
    TcpClient* client = nullptr; //客户指针


public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_pushButton_connect_clicked();

    void on_pushButton_addProxy_clicked();

    void on_pushButton_removeProxy_clicked();

    void on_pushButton_flashProxy_clicked();

private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
